﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class ShowStage : MonoBehaviour
{
    private GameManager gameManager;
    void OnEnable()
    {
        gameManager = GameObject.Find("GameController").GetComponent<GameManager>();
        this.GetComponent<Text>().text = "第" + gameManager.stageNumber + "关";
    }
}
